package com.soecode.lyf.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * user
 * @author
 */
@Data
@TableName("user")
public class User implements Serializable {
    /**
     * 用户id
     */
    @TableId
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 姓名
     */
    private String name;

    /**
     * 密码明文
     */
    private String password;

    /**
     * 部门id
     */
    private Integer deptId;

    /**
     * 岗位id
     */
    private Integer postId;

    /**
     * 性别
     */
    private String sex;

    private String birthday;

    private String address;

    /**
     * 电话号码
     */
    private String phone;

    private static final long serialVersionUID = 1L;
}
